<html>
	<head>
		<meta charset="utf-8">
		<title>CSSDOM 事件简介</title>
		<script>
			window.onload = function() {
				//获取标记
				var image = document.getElementById("image");
				//添加点击事件
				image.onclick = changBig;
			}

			function changBig(e) {	
				document.write("x:" + e.clientX + "y:" + e.clientY);
				
			}
		</script>
	</head>
	<body>
		<img id="image" width="400" src="image/01.jpg" onclick="changBig(event)">
	</body>
</html>